package com.atguigu.day20.syn01.smethod1;

//todo 翠花线程
public class ChThread extends Thread {
    private Account account;
    public void setAccount(Account account) {
        this.account = account;
    }
    @Override
    public void run() {
        account.   takeMoney();
    }
}
